home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
linux-bo
/
dless-li
/
root.swa
/
etc
/
rc.d
/
rc.0
next >
Wrap
Text File
|
1995-04-26
|
611b
|
22 lines
#! /bin/sh
#
# brc This file is executed by init(8) when the system is being
# shutdown (i.e. set to run at level 0). It usually takes
# care of un-mounting al unneeded file systems.
#
# Version: @(#)/etc/brc 2.01 02/17/93
#
# Authors: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
echo Unmounting file systems.....
sync
if [ "`mount | grep ' on / ' | grep umsdos`" = "" ]; then
umount -a
else
umount -a 2> /dev/null # Let's not put ugly errors on the screen with UMSDOS.
fi
echo Done.